package cate.game.pvp.throne;

import cate.game.GameBody;
import cate.game.framework.ModuleMan;
import easy.java.dev.note.NoteClass;

@NoteClass("王座争霸游戏服管理")
public class TBManager extends ModuleMan {

	public TBGameDataManager data = new TBGameDataManager();
	public TBGameMessagingModule message = new TBGameMessagingModule();
	public TBGameReceiveModule receive = new TBGameReceiveModule();


	@Override
	public void initIndependent(GameBody game) throws Exception {
		super.initIndependent(game);
		data.initIndependent(game);
		message.initIndependent(game);
		receive.initIndependent(game);
	}

	@Override
	public void initDependent() throws Exception {
		data.initDependent();
		message.initDependent();
		receive.initDependent();
	}

	public void tick(){
		data.tick();
	}




	@Override
	public void shutdown() {
		data.shutdown();
		message.shutdown();
		receive.shutdown();
	}
}
